//*************************************************
//Program #4     Page_Replacement_Algorithm.cpp
//*************************************************
//Names: Stephen Durfrey,  Andrew Brock
//Due: April 23, 2010
//Operating Systems
//Related Files:  Page_Replacement_Algorithm.h
// PRA: This is our base class of all of the PRA's

#include "Page_Replacement_Algorithm.h"
#include <vector>
#include <string>
#include <fstream>

using namespace std;

Page_Replacement_Algorithm::Page_Replacement_Algorithm()
{
}

void Page_Replacement_Algorithm::setNumFrames(int frames)
{
	num_frames = frames;
}

void Page_Replacement_Algorithm::addCsvString(string file_name, string value)
{
	ofstream file;
	string temp;
	file.open(file_name.c_str(), ios::app);

	if(file.is_open())
	{
		file << value;
		file << endl;
	}

	file.close();
}

